package models;
 
import java.util.*;

import javax.persistence.*;

import play.db.jpa.*;
import play.data.validation.*;

@Entity
public class EmployeeAward extends Model {
	
	@Required
    @ManyToOne
    public MasLocation MasLoc;
	
	@Required
    @ManyToOne
    public Company CompanyID;
	
	//not sure ManyToOne or ManyToMany
	@ManyToMany(cascade=CascadeType.PERSIST)
    public Set<Employee> EmployeeID;
	
	@MaxSize(50)
	public String AwardName;
	
	public Date Date;
	
	@MaxSize(50)
	public String VerifiedPerson;
}